// AboutDialog.h
 
#ifndef __ABOUTDIALOG_H
#define __ABOUTDIALOG_H

#include "resource.h"

class CAboutDialog: public CDialogImpl<CAboutDialog>
{
public:
	enum { IDD = IDD_ABOUT};

	BEGIN_MSG_MAP(CAboutDialog)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
		COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
		COMMAND_ID_HANDLER(IDC_ABOUT_BUTTON_HOMEPAGE, OnHomeCmd)		
	END_MSG_MAP()
  LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
  
  LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
	{
		EndDialog(wID);
		return 0;
	}
  LRESULT OnHomeCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
	

};

#endif
